{
 "cells": [
  {
   "cell_type": "code",
   "outputs": [],
   "source": [
    "list1 = [1, 2, 3, 4, 5, 6, 7, 8]\n",
    "for i in list1:\n",
    "    print(i)"
   ],
   "metadata": {
    "collapsed": false
   },
   "id": "e569c201fa59fbc4"
  },
  {
   "cell_type": "code",
   "outputs": [],
   "source": [
    "# The output of the above code will be:\n",
    "# 1\n",
    "# 2"
   ],
   "metadata": {
    "collapsed": false
   },
   "id": "4ee75fdde599e393"
  },
  {
   "cell_type": "code",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'1': 'one', '2': 'two', '3': 'three'}\n",
      "[1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8]\n"
     ]
    }
   ],
   "source": [
    "list1 = [1, 2, 3, 4, 5, 6, 7, 8]\n",
    "dic = {'1': 'one', '2': 'two', '3': 'three'}\n",
    "print({**dic})\n",
    "print(list1 + list1)"
   ],
   "metadata": {
    "collapsed": false,
    "ExecuteTime": {
     "end_time": "2024-06-14T06:39:19.428054Z",
     "start_time": "2024-06-14T06:39:19.423064Z"
    }
   },
   "id": "2dcb6d1358a7c8bd",
   "execution_count": 10
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
